
GO

/****** Object:  Table [dbo].[BugNet_WikiPageDetails]    Script Date: 10/02/2013 23:25:21 ******/


CREATE TABLE [dbo].[BugNet_WikiPageDetails](
	[WikiPageId] [int] IDENTITY(1,1) NOT NULL,
	[ProjectId] [int] NOT NULL,
	[WikiPageName] [nvarchar](300) NOT NULL,
	[DateCreated] [datetime] NOT NULL,
	[UserCreated] [uniqueidentifier] NOT NULL,
	[SortOrder] [int] NOT NULL,
	[IsActive] [bit] NULL DEFAULT 1, 
    CONSTRAINT [PK_BugNet_WikiPageDetails] PRIMARY KEY ([WikiPageId]),
	CONSTRAINT [FK_BugNet_WikiPageDetails_BugNet_Projects] FOREIGN KEY([ProjectId])REFERENCES [dbo].[BugNet_Projects] ([ProjectId])
	)



